﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MyChart
{
    /// <summary>
    /// 简单控件绘制前事件参数
    /// </summary>
    public class SimpleChartRenderingEventArgs : EventArgs
    {
        #region 字段

        private SingleSeriesManager _itemManager;

        #endregion

        #region 属性

        /// <summary>
        /// 获取控件数据管理器
        /// </summary>
        public SingleSeriesManager ItemManager
        {
            get { return _itemManager; }
        }

        #endregion

        #region 构造器

        /// <summary>
        /// 初始化 SimpleChartRenderingEventArgs 类
        /// </summary>
        /// <param name="itemManager">所包含的控件数据管理器</param>
        public SimpleChartRenderingEventArgs(SingleSeriesManager itemManager)
        {
            _itemManager = itemManager;
        }

        #endregion
    }
}
